<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var year =function(m,n){
            for(m;m<=n;m++){
                if(m%2==0){
                    console.log(m)
                }
            }
        }
        // function year(a,b){
        //     for(a;a<=b;a++){
        //         if(a%4==0 && a%100!=0 || a%400==0){
        //             console.log(a)
        //         }
        //     }
        // }
        year(1,200)
    </script>
</body>
</html>